
<?php
class HotWidget extends Widget{

	public function render($data){
        $limit=$data['limit'];
        $data['hot']=M('blog')->order('click DESC')->limit($limit)->select();    
		return $this->renderFile('',$data);
	}
}


?>